package com.example.managementjava.Student;


public class Student {
    String sid;
    String name;
    String gender;
    String college;
    String professional;
    String class1;

    public Student(String sid, String name, String gender, String college, String professional, String class1) {
        this.class1 = class1;
        this.sid = sid;
        this.name = name;
        this.gender = gender;
        this.college = college;
        this.professional = professional;
    }

    public String getSid() {
        return sid;
    }

    public String getName() {
        return name;
    }

    public String getGender() {
        return gender;
    }

    public String getCollege() {
        return college;
    }

    public String getProfessional() {
        return professional;
    }

    public String getClass1() {
        return class1;
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    public String toString() {
        return sid + ',' +name + ',' +gender + ',' +college + ',' + professional + ',' +class1 ;
    }
}